home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20020314-20021006 / 000220_fdc@columbia.edu_Wed Jul 17 15:57:11 EDT 2002.msg < prev    next >
Text File  |  2020-01-01  |  2KB  |  38 lines

  1. Article: 13532 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
  3. From: fdc@columbia.edu (Frank da Cruz)
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Re: Automating Scripts to run at a certain time
  6. Date: 17 Jul 2002 15:57:04 -0400
  7. Organization: Columbia University
  8. Lines: 21
  9. Message-ID: <ah4i6g$a7a$1@watsol.cc.columbia.edu>
  10. References: <b85d456a.0207171130.5bf4501e@posting.google.com>
  11. NNTP-Posting-Host: watsol.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 1026935825 18041 128.59.39.139 (17 Jul 2002 19:57:05 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 17 Jul 2002 19:57:05 GMT
  15. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13532
  16.  
  17. In article <b85d456a.0207171130.5bf4501e@posting.google.com>,
  18. ruvena <ruvenakiash@hotmail.com> wrote:
  19. : I am writing a script that will download from a remote site at a
  20. : certain time. How would you be able to run a kermit script .ksc
  21. : automatically based on what the system time is?
  22. How you do that outside Kermit depends on the operating system.
  23.  
  24. To do it inside Kermit, use the PAUSE command.  Here's the "help sleep"
  25. text:
  26.  
  27. Syntax:  PAUSE [ { number-of-seconds, hh:mm:ss } ]
  28. Example: PAUSE 3  or  PAUSE 14:52:30
  29.   Do nothing for the specified number of seconds or until the given time of
  30.   day in 24-hour hh:mm:ss notation.  If the time of day is earlier than the
  31.   current time, it is assumed to be tomorrow.  If no argument given, one
  32.   second is used.  The pause can be interrupted by typing any character on
  33.   the keyboard unless SLEEP CANCELLATION is OFF.  If interrupted, PAUSE
  34.   fails, otherwise it succeeds.  Synonym: SLEEP.
  35.  
  36. - Frank
  37.